package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 计算规则Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "CalculateRuleEntity", name = "calculate_rule", comment = "计算规则")
public class CalculateRuleEntity extends BaseEntity {
    /**
     * 规则编码
     */
    @MyColumn(value = "ruleCode", name = "rule_code", comment = "规则编码", required = true)
    private String ruleCode;

    /**
     * 规则类型
     */
    @MyColumn(value = "ruleType", name = "rule_type", comment = "规则类型", required = true)
    private String ruleType;

    /**
     * 规则版本号
     */
    @MyColumn(value = "ruleVersion", name = "rule_version", comment = "规则版本号", required = true)
    private Integer ruleVersion;

    /**
     * 计算调用说明
     */
    @MyColumn(value = "callExplanation", name = "call_explanation", comment = "计算调用说明")
    private String callExplanation;

    /**
     * 计算规则描述
     */
    @MyColumn(value = "ruleDescribe", name = "rule_describe", comment = "计算规则描述")
    private String ruleDescribe;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public String getRuleCode() {
        return ruleCode;
    }

    public CalculateRuleEntity setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleType() {
        return ruleType;
    }

    public CalculateRuleEntity setRuleType(String ruleType) {
        this.ruleType = ruleType;
        return this;
    }

    public Integer getRuleVersion() {
        return ruleVersion;
    }

    public CalculateRuleEntity setRuleVersion(Integer ruleVersion) {
        this.ruleVersion = ruleVersion;
        return this;
    }

    public String getCallExplanation() {
        return callExplanation;
    }

    public CalculateRuleEntity setCallExplanation(String callExplanation) {
        this.callExplanation = callExplanation;
        return this;
    }

    public String getRuleDescribe() {
        return ruleDescribe;
    }

    public CalculateRuleEntity setRuleDescribe(String ruleDescribe) {
        this.ruleDescribe = ruleDescribe;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public CalculateRuleEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public CalculateRuleEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}